]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
[panel.js] Remove duplicated 'let'
authorColin Walters <walters@verbum.org>
Tue, 16 Mar 2010 14:51:05 +0000 (10:51 -0400)
committerColin Walters <walters@verbum.org>
Tue, 16 Mar 2010 14:51:05 +0000 (10:51 -0400)
Original fix from Maxim Ermilov <zaspire@rambler.ru>

js/ui/panel.js

index 6915bc5bde42dd78100f3ada95ea0b8385a8978e..e35a655ae1c8e5cba5faba4396e12c45d3341daa 100644 (file)
@@ -226,7 +226,7 @@ AppPanelMenu.prototype = {
 
         let iconWidth = childBox.x2 - childBox.x1;
 
-        let [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size();
+        [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size();
 
         yPadding = Math.floor(Math.max(0, allocHeight - naturalHeight) / 2);
         childBox.y1 = yPadding;